home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xpipeman / Makefile.tra < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.2 KB  |  55 lines

  1. #
  2. # This makefile is NOT generated by Imake.  See the README for more details.
  3. #
  4.         TASK        = xpipeman
  5.         SCORE_FILE    = -DSCORE_FILE=\"./xpipescores\"
  6.  
  7. #
  8. # EDIT THIS or use the imakefile.
  9. #
  10.         INCDIR        = /home/X11
  11.         LIBDIR        = /home/X11/lib
  12.         LIBS        = -lXaw -lXt -lXmu -lX11 -lm
  13.  
  14. #
  15. # if you plan on installing it...
  16. #
  17. #       TASK        = /usr/games/xpipeman
  18. #       SCORE_FILE    = -DSCORE_FILE=\"/usr/games/lib/xpipescores\"
  19. #
  20. # number of scores to save in the score file...
  21. #
  22.         MAXSCORES    = -DMAXSCORES=20
  23.  
  24.         DEFINES        = $(SCORE_FILE) $(MAXSCORES) 
  25.  
  26.         DBXFLAGS    = 
  27.         CFLAGS        = -O $(DBXFLAGS) -I$(INCDIR) $(DEFINES)
  28.         LDFLAGS        = $(DBXFLAGS) -L$(LIBDIR) $(LIBS)
  29.  
  30.         CFILES        = main.c game.c actions.c graphics.c score.c info.c popup.c
  31.         OBJECTS        = main.o game.o actions.o graphics.o score.o info.o popup.o
  32.         INCLUDES    = bitmaps1.h bitmaps2.h icon.h xpipeman.h
  33.  
  34. default: $(TASK) 
  35.  
  36. $(TASK): $(OBJECTS) $(INCLUDES) 
  37.     cc -o $@ $(OBJECTS) $(LDFLAGS) 
  38.  
  39. .c.o:
  40.     cc -c $*.c $(CFLAGS) 
  41.  
  42. tags: $(CFILES) $(INCLUDES)
  43.     ctags -t $(INCLUDES) $(CFILES)
  44.  
  45. lint: 
  46.     lint -I$(INCDIR) $(CFILES)
  47.  
  48. man::
  49.     nroff -man xrobots.nr
  50.  
  51. clean::
  52.     rm -f $(OBJECTS)
  53.  
  54.  
  55.